package com.acoreful.ackitcloud;

import cn.hutool.core.lang.Console;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.gateway.config.HttpClientProperties;
import org.springframework.context.ConfigurableApplicationContext;


@SpringBootApplication
public class GatewayServer {

    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext=SpringApplication.run(GatewayServer.class,args);
        Console.log("acfkit-cloud.name:{}",applicationContext.getEnvironment().getProperty("acfkit-cloud.name"));
    }
}
